import React, { Component } from 'react';
import { View, Text, Button } from 'react-native';
import { Screen, Actions } from 'react-native-router-flux';

export default class CustomerList extends Component {
  jumpDetail() {
    Actions.CustomerDetail({ id: 'this is id', name: 'hello' });
  }
  render() {
    return (
      <View>
        <Text>CustomerList</Text>
        <Button onPress={this.jumpDetail} title="到详情" />
      </View>
    );
  }
}